#pragma once

class CSkyConf
{
public:   
   int  LoadConf( char * aStrConfFileName );
   int  ParseConf( char * aStrLine );
   int  WriteConf();
   int  WriteConf( char * aStrConfFileName );
   void InitConf();
   void PrintConf();

public:
   CSkyConf();
   ~CSkyConf();

public:
   int  mMaxCall;
   int  mWaitTime;
   char mCallListPath[ MAX_PATH_LENGTH ];
   char mCallOutPath[ MAX_PATH_LENGTH ];    
   char mRecordingPath[ MAX_PATH_LENGTH ];
   char mAstUserName[ USERNAME_MAX_LEN ];
   char mOutChanName[ USERNAME_MAX_LEN ];
private:
   void removeSpace( char * aLineBufPtr , int aIntChkPoint );
   void removeFirstSpace( char * aLineBuf );
   void removeEndSpace( char * aLineBufPtr );
private:
   char   mConfFileName[MAX_PATH_LENGTH];
};
